package com.gem.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gem.entity.Product;
import org.apache.ibatis.annotations.Param;

/**
 * @author 刘聪
 * Created  on 2021/3/21
 */
public interface ProductMapper extends BaseMapper<Product> {
    IPage<Product> selectProductPage(Page<Product> page, @Param(Constants.WRAPPER) Wrapper<Product> wrapper);

}
